package com.wxzz.elearing.livetelecast.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.wxzz.elearning.common.bean.BaseEntity;
import com.wxzz.elearning.common.dto.BasePage;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class WxActivityDto extends BasePage {

    @ApiModelProperty(value = "分类id")
    private Long categoryId;

    @ApiModelProperty(value = "直播状态 0-已开始 1-进行中 2-已结束")
    private Integer activityStatus;

    @ApiModelProperty(value = "0-从最近时间排序 1-从最远时间排序")
    private Integer sort;

    @ApiModelProperty(value = "活动名称")
    private String activityName;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "开始时间")
    private LocalDateTime startTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "结束时间")
    private LocalDateTime endTime;
}
